<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
 
	<%@ include file="/jsp/imports/header.jsp" %>
	
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.maskedinput-1.3.js"></script>
	
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/ui-lightness/jquery-ui-1.8.16.custom.css"/> 

	
	<script>
	function foward(acao){
		document.form.action = acao;
		document.form.submit();
	}
	
	$(function() {
		$( "#data" ).datepicker({
			showOtherMonths: true,
			selectOtherMonths: true
		});
	});
	
	
	jQuery(function($){
	   $("#data").mask("99/99/9999");
	});
</script>
</head>

<body>
<c:set var="page" value="jsp/diretor/calendario/dirCadastraFeriado.jsp" scope="session"/>
<div class="contentwrap">
	
<div class="headwrap">


  <%@ include file="../../imports/top.jsp" %>   
    


	<div class="container content">
		
	  <div class="span-20 append-2 prepend-2">
	  
	  
        <%@ include file="/jsp/imports/mensagens.jsp" %>
  	
  <%@include file="/jsp/imports/menuLateral.jsp" %>

		  <div class="span-12 services last">
				<h2 align="center"><fmt:message key="cadastroFeriado.titulo" /></h2>
				<br />
				<form action="cadastraFeriado.do" method="post" name="form">
					<table>
						<tr>
							<td><fmt:message key="descricao"/></td>
							<td><input type="text" name="descricao" value="${param.descricao}" size="60"/></td>
						</tr>
						<tr>
							<td><fmt:message key="data" /></td>
							<td><input type="text" name="data" id="data" value="${param.data}"/></td>
						</tr>
					</table>
					<input type="submit" value="<fmt:message key="botao.cadastrar" />"/>
					<input type="button" value="<fmt:message key="botao.cancelar"/>" onclick="foward('${pageContext.request.contextPath}/jsp/index.jsp')"/>
					<input type="hidden" name="tipo" value="F"/>
				</form>
				
		  </div>
			
		  <div class="final"></div>
		
		</div>
	
	</div>

</div>

</div>

<%@ include file="/jsp/imports/footer.jsp" %>
</body>
</html>